package com.jinmdz.fmis.api.api.model.funeral;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 火化逝者请求数据
 *
 * @author LiCongLu
 * @date 2020-01-19 13:50
 */
@ApiModel(value = "火化逝者请求数据", description = "火化逝者请求数据")
public class CremationArchivesData extends BaseBean {
    /**
     * 逝者
     */
    @AnValidate(name = "逝者", required = true)
    @ApiModelProperty(value = "逝者", name = "funeralDead", position = 1)
    private FuneralDeadData funeralDead;

    /**
     * 家属
     */
    @AnValidate(name = "家属", required = true)
    @ApiModelProperty(value = "家属", name = "familyMember", position = 2)
    private FamilyMemberData familyMember;

    /**
     * 承办人
     */
    @AnValidate(name = "承办人")
    @ApiModelProperty(value = "承办人", name = "familyAgent", position = 3)
    private FamilyAgentData familyAgent;

    public FuneralDeadData getFuneralDead() {
        return funeralDead;
    }

    public CremationArchivesData setFuneralDead(FuneralDeadData funeralDead) {
        this.funeralDead = funeralDead;
        return this;
    }

    public FamilyMemberData getFamilyMember() {
        return familyMember;
    }

    public CremationArchivesData setFamilyMember(FamilyMemberData familyMember) {
        this.familyMember = familyMember;
        return this;
    }

    public FamilyAgentData getFamilyAgent() {
        return familyAgent;
    }

    public CremationArchivesData setFamilyAgent(FamilyAgentData familyAgent) {
        this.familyAgent = familyAgent;
        return this;
    }
}
